﻿using System;

namespace Shuba.Model
{
    [Serializable]
    public class TransactionLogInfo
    {
        public TransactionLogInfo()
        { }

        public TransactionLogInfo(DateTime transactionDate, string userName, string type, string description)
        {
            this.TransactionDate = transactionDate;
            this.UserName = userName;
            this.Type = type;
            this.Description = description;
        }


        /// <summary>
        /// info for transaction log spada
        /// </summary>
        public TransactionLogInfo(string RowID, string AppID, DateTime TransactionDate, string UserName, string Type, string Description)
        {
            this.RowID = RowID;
            this.AppID = AppID;
            this.TransactionDate = TransactionDate;
            this.UserName = UserName;
            this.Type = Type;
            this.Description = Description;
        }

        public DateTime TransactionDate { get; set; }
        public string UserName { get; set; }
        public string Type { get; set; }
        public string Description { get; set; }
        public string RowID { get; set; }
        public string AppID { get; set; }
    }
}
